package org.oslims.domain;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.OneToMany;

@Entity
@DiscriminatorValue("LABRESPONSIBLE")
public class LabResponsible extends LabStaff {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6909152798962042721L;
	@OneToMany(mappedBy = "labResponsible")
	private List<Request> requests = new ArrayList<Request>();

	public void setRequests(List<Request> requests) {
		this.requests = requests;
	}

	public List<Request> getRequests() {
		return requests;
	}

}
